<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org"
	  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="">
	<meta name="author" content="">

	<title>选课系统-用户信息</title>

	<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
	<!-- Custom styles for this template -->
	<link th:href="@{/css/dashboard.css}" rel="stylesheet">



</head>

<body>
<div th:replace="~{commons::topbar}"></div>

<div class="container-fluid">
	<div class="row">
		<div th:replace="~{commons::sidebar(active='info')}"></div>
		<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">

			<label>账号</label>
			<input type="text"  readonly="readonly" class="form-control"  th:value="${user.getUserId()}">
			<label>姓名</label>
			<input type="text"  readonly="readonly" class="form-control"  th:value="${user.getUserName()}">
			<label>身份</label>
			<input type="text"  readonly="readonly" class="form-control"  th:value="${user.getRoles()}">
			<label>性别</label>
			<input type="text"  readonly="readonly" class="form-control"  th:value="${user.getGender()==0? '男' : '女'}">
			<label>所属学院</label>
			<input type="text"  readonly="readonly" class="form-control"  th:value="${user.getCollege().getCollegeName()}">

		</main>
	</div>
</div>



</body>

</html>